package com.htfyun.eink.pw.draw.pen.epd.data;

public class NeoPenConfig {
    public static final int NEOPEN_PEN_TYPE_BRUSH = 1;
    public static final int NEOPEN_PEN_TYPE_CHARCOAL = 4;
    public static final int NEOPEN_PEN_TYPE_FOUNTAIN = 2;
    public static final int NEOPEN_PEN_TYPE_MARKER = 3;
    public int type = 1;
    public int color = 0xFF000000;//Color.BLACK;
    public float width = 3.0f;
    public int rotateAngle = 360;
    public boolean tiltEnabled = false;
    public float tiltScale = 1.75f;
    public float maxTouchPressure = 0x7FF;

    public int getColor() {
        return this.color;
    }

    public float getMaxTouchPressure() {
        return this.maxTouchPressure;
    }

    public int getRotateAngle() {
        return this.rotateAngle;
    }

    public float getTiltScale() {
        return this.tiltScale;
    }

    public int getType() {
        return this.type;
    }

    public float getWidth() {
        return this.width;
    }

    public boolean isTiltEnabled() {
        return this.tiltEnabled;
    }

    public NeoPenConfig setColor(int i) {
        this.color = i;
        return this;
    }

    public NeoPenConfig setMaxTouchPressure(float f) {
        this.maxTouchPressure = f;
        return this;
    }

    public NeoPenConfig setRotateAngle(int i) {
        this.rotateAngle = i;
        return this;
    }

    public NeoPenConfig setTiltEnabled(boolean z) {
        this.tiltEnabled = z;
        return this;
    }

    public NeoPenConfig setTiltScale(float f) {
        this.tiltScale = f;
        return this;
    }

    public NeoPenConfig setType(int i) {
        this.type = i;
        return this;
    }

    public NeoPenConfig setWidth(float f) {
        this.width = f;
        return this;
    }
}
